package com.iflysse.service;

import java.util.List;

import javax.validation.Valid;

import com.iflysse.dto.TeachingClassDto;
import com.iflysse.dto.TeachingClassUpdateDto;
import com.iflysse.entity.TeachingClass;
import com.iflysse.vo.TeachingClassDetailVo;
import com.iflysse.vo.TeachingClassVo;

public interface TeachingClassService {
	/**
     * 查询用户信息，教师和学生通用
     * @param userId 教师ID或学生ID 
     * @param className，班级名称
     * @param classNum，班级人数
     * @param classId，班级ID
     * @return
     */
	
	List<TeachingClassVo> findTeacherClass(String userId);
	
	int addTeacherClass(TeachingClassDto teachingClassDto);

	int deleteTeacherClass(String userId,String classId);

	int updateTeacherClass(TeachingClassUpdateDto form);
	
	TeachingClassDetailVo queryClassInfoById(String classId);
}
